//
//  AKAFManager.h
//  CertDemo
//
//  Created by chen on 2018/7/4.
//  Copyright © 2018年 chen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>

typedef void (^AKAFResponseBlock)(BOOL isSuccessed, NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject, NSError * _Nonnull error);
@interface AKAFManager : AFHTTPSessionManager

+ (instancetype)getManager;

- (void)requestGet:(NSString *)path
        WithParams:(NSDictionary*)params
     ResponseBlock:(AKAFResponseBlock)responseBlock;
@end
